package com.hejjon.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hejjon.core.domain.entity.LibraryCategory;
import com.hejjon.domain.vo.LibraryCategoryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LibraryCategoryMapper extends BaseMapper<LibraryCategory> {


    List<LibraryCategoryVO> selectAll();


    int insertBatch(@Param("entityList") List<LibraryCategory> entityList);


    /**
     * 是否存在子节点
     */
    Integer existByParentId(@Param("parentId") String parentId);




}
